<template>
	<swiper indicator-dots autoplay :interval="5000" :duration="1000" circular>
		<block v-for="(item,index) in resdata" :key="index">
			<swiper-item>
				<view class="swiper-item" @tap="event(item)">
					<image :src="item.src" lazy-load style="width:100%;height: 586upx"  mode="aspectFill"></image>
				</view>
			</swiper-item>
		</block>
	</swiper>
</template>

<script>
	export default{
		props:{
			resdata:Array
		},
		methods: {
			event(item){
				uni.navigateTo({
				    url:item.linkurl
				});
			}
		}
	}
</script>
	
<style>
</style>
